import Layout from '@/layout/index.vue'

const routes = {
  index: 8,
  path: '/',
  component: Layout,
  name: 'editor',
  children: [{
    path: '/monacoEditor',
    name: 'monacoEditor',
    component: () => import('@/views/editor/monacoEditor/index.vue')
  }, {
    path: '/codemirror',
    name: 'codemirror',
    component: () => import('@/views/editor/codemirror/index.vue')
  }]
}

export default routes